@import '~@/assets/style/common';
.home {
      overflow-y: auto;
   // margin-bottom: 2rem;

}
.home-content{
    margin-top:2.5rem;
}
.classtify-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    margin-top: .40rem;
    width: 92%;
    position: fixed;
    padding-left: 4%;
    padding-right: 4%;
    left: 0;
    top: .3rem;
    z-index: 20;
    background: #0e0a2e;
    height: 1rem;
        p {
            width: 20%;
            height: .60rem;
            line-height: .70rem;
            text-align: center;
            color: #081e4b;
            font-size: 12px;

            float: left;
            background: #AEAEAE;
            border-radius: .05rem;
            flex: 1;
            margin-right: .25rem;

            &.active {
                background: #138cef;
                color: #fff;
            }
            &:last-of-type {
                margin-right: 0;
                ;
            }
        }
    }
//设置持续时间和动画函数
.slide-fade-enter-active {
  transition: all .5s ease;
}

.slide-fade-leave-active {
  //transition: all .5s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter,
.slide-fade-leave-to
/* .slide-fade-leave-active for below version 2.1.8 */

  {
  transform: translateX(7.5rem); //opacity: 0;
}
